<?xml version="1.0" encoding="UTF-8"?>
<!--
  Created by IntelliJ IDEA.
  User: imon
  Date: 3/28/13
  Time: 11:47 AM
-->

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui"
                xmlns:c="http://java.sun.com/jsp/jstl/core">

    <div>
        <div class="container-left">
            <h1>#{msg['header.header']}</h1>
        </div>

        <div class="container-right">
            <h:form id="logout">
                <p:outputLabel value="#{msg['header.welcome']} #{loginController.user.userName}"/>
                <p:spacer width="10px"/>
                <p:commandButton value="#{msg['header.logout']}" action="#{logOutController.logOut}"/>
            </h:form>
        </div>

    </div>

</ui:composition>